<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Use Unit</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="../../css/style.css" type="text/css">
</head>

<body>
<table width="100%" border="0" cellpadding="4">
  <tr>
    <td class="head" height="16">Use Unit</td>
  </tr>
  <tr>
    <td bgcolor="#FF9900" height="6"></td>
  </tr>
  <tr>
    <td height=6></td>
  </tr>
</table>
<p class="title"><b>Use Unit</b></p>
<p class="text">This function enhanced IDE's "Use Unit" command. It can list all units in current project or projectgroup to "uses". The information in list includes name, type, project, size and file type. Opened file is in red. Quick search is supported.</p>
<p align="center" class="text"><img src="uselist.png"></p>
<ul>
  <li><p class="text"><b>Use Selected Unit</b>: Use selected unit(s) for Current Unit in IDE.</p></li>
  <li><p class="text"><b>Show Attribute of Selected Unit File</b>: Show the file attribute dialog of selected file.</p></li>
  <li><p class="text"><b>Copy Selected Unit Name to Clipboard</b>: Copy selected unit name to clipboard.</p></li>
  <li><p class="text"><b>Select All Units</b>: Select all units in the list.</p></li>
  <li><p class="text"><b>Cancel Selection</b>: Select none in the list.</p></li>
  <li><p class="text"><b>Inverse Selection</b>: Inverse selection in the list.</p></li>
  <li><p class="text"><b>Match Unit Name Start</b>: Match the unit name head when searching.</p></li>
  <li><p class="text"><b>Match All Parts of Unit Name</b>: Match any position of unit name when searching.</p></li>
  <li><p class="text"><b>Fuzzy Match of Unit Name</b>: Fuzzy Match of unit name when searching.</p></li>
  <li><p class="text"><b>Hook Use Unit to IDE</b>: Whether hook IDE's Use Unit action. If hooked, when 'Use Unit...' was selected in 'File' menu, this dialog will appear. And "Insert Frame" Dialog's hooking will also be controlled by this button for IDE's internal mechanism. Please see "<a href=frameslist.htm>Frame List</a>".</p></li>
  <li><p class="text"><b>Font</b>: Change font of list.</p></li>
  <li><p class="text"><b>Help</b>: Show this Help.</p></li>
  <li><p class="text"><b>Exit</b>: Close this Window and Exit.</p></li>
  <li><p class="text"><b>Current Project</b>: Select whether list only project files or all files in project and search path. Project files can be added to "implementation" section for Pascal and "Cpp" for C/C++ file defaultly. Files in search path can be add to "interface" section for Pascal and "H" for C/C++ file defaultly. You can change insertion place by selecting the radio buttons. </p></li>
</ul>
<p class="text">&nbsp;</p>
<p class="title">Links</p>
<p class="text" align="left">
<a href="../wizards.htm">Basic Operation</a><p class="text" align="left">
<a href="../../options/wizconfig.htm">CnWizards Settings</a><p class="text" align="left">
<a href="../../cnpack/index.htm">About CnWizards</a>
<p class="text" align="left">&nbsp; 
<hr>
<p class="text" align="center"><a href="https://www.cnpack.org">Copyrights 2001-2025 CnPack Team</a></p>
</body>
</html>